package com.ssm.gbq.dao;

import com.ssm.gbq.model.DoctorCategory;
import gbq.ssm.utils.PageBounds;

import java.util.List;

public interface DoctorCategoryDao {
    /**
     * 获取列表
     */
    PageBounds<DoctorCategory> openDoctorCategoryTable(String name,int currentPage, int pageSize)throws Exception;
    /**
     * 查询所有信息
     */
    List<DoctorCategory> selectAllDoctorCategory();
    /**
     *删除信息
     */
    public int deleteDoctorCategoryById(Integer id);
    /**
     * 多删除
     * @param ids
     * @throws Exception
     */
    void deleteDoctorCategoryByIds(List<Integer> ids)throws Exception;
    /**
     * 添加
     */
    public int  addDoctorCategory(DoctorCategory doctorCategory)throws Exception;
    /**
     * 修改
     */
    public int  updateDoctorCategory(DoctorCategory doctorCategory);
}
